keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

Any instructions to install my A1200P in Elastix?

16 years 5 months ago #503 by [email protected]
Hi, Elastix 0.9 beta2 version can support OpenVox A1200P, please Update your Elastix, Thank you.
16 years 5 months ago #506 by ramoncio
I still have problems. Now with Elastix 0.9 final release.
The main of my problems was that I got the wrong config for the fxs and fxo modules location in the card.
After noticing this problem, and reading about zapata.conf zapata-auto.conf and zapata_additional.com I nearly got it.
I got all my modules detected ok in the hardware detection.

The card has fxs modules in slots 1-6 and fxo modules in slots 7-12.

My configuration is this:

/etc/zaptel.conf

# Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"
fxoks=1
fxoks=2
fxoks=3
fxoks=4
fxoks=5
fxoks=6
fxsks=7
fxsks=8
fxsks=9
fxsks=10
fxsks=11
fxsks=12

# Global data

loadzone = es
defaultzone = es




/etc/asterisk/zapata.conf

[trunkgroups]
[channels]
language=es
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
rxgain=2.0
txgain=2.0
callgroup=1
pickupgroup=1
immediate=no
busydetect=yes
busycount=4
busypattern=200,200
hanguponpolarityswitch=yes
faxdetect=incoming
;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs
#include zapata_additional.conf


elastix*CLI> zap show channels
Chan Extension Context Language MOH Interpret
pseudo from-internal es default
1 from-internal es default
2 from-internal es default
3 from-internal es default
4 from-internal es default
5 from-internal es default
6 from-internal es default
7 from-pstn es default
8 from-pstn es default
9 from-pstn es default
10 from-pstn es default
11 from-pstn es default
12 from-pstn es default



/etc/asterisk/zapata-auto.conf

callerid=asreceived

; Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"

signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channels 1-7
context=from-pstn
group=0
channel => 7-12



/etc/aterisk/zapata_additional.conf

; do not edit this file, this is an auto-generated file by freepbx
; all modifications must be done from the web gui

;;;;;;[101]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=101@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g0
context=from-internal
callprogress=no
callerid=device <101>
busydetect=yes
busycount=5
accountcode=
channel=>1

;;;;;;[102]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=102@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g1
context=from-internal
callprogress=no
callerid=device <102>
busydetect=yes
busycount=5
accountcode=
channel=>2

;;;;;;[103]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=103@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g2
context=from-internal
callprogress=no
callerid=device <103>
busydetect=no
busycount=7
accountcode=
channel=>3

;;;;;;[104]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=104@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g3
context=from-internal
callprogress=no
callerid=device <104>
busydetect=no
busycount=7
accountcode=
channel=>4

;;;;;;[105]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=105@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g4
context=from-internal
callprogress=no
callerid=device <105>
busydetect=no
busycount=7
accountcode=
channel=>5

;;;;;;[106]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=106@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/6
context=from-internal
callprogress=no
callerid=device <106>
busydetect=no
busycount=7
accountcode=
channel=>6



But lszaptel I think is wrong:

### Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"
1 FXO FXOKS (In use)
2 FXO FXOKS (In use)
3 FXO FXOKS (In use)
4 FXO FXOKS (In use)
5 FXO FXOKS (In use)
6 FXO FXOKS (In use)
7 FXS FXSKS (In use)
8 FXS FXSKS (In use)
9 FXS FXSKS (In use)
10 FXS FXSKS (In use)
11 FXS FXSKS (In use)
12 FXS FXSKS (In use)


I think the spans are wrong... FXO should use FXSKS signaling.
How can I change this?

I can't make or receive calls.
If I call from my mobile, asterisk answers, plays music on hold but the extension can't be reached and sends me to the voicemail.
If I call from one extension to another, I get voicemail unavailable.
I I try to call ot the zap trunks I get "all channels are busy" message, and this log:

-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "custom=ZAP/g8") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk] Dial("Zap/2-1", "ZAP/g8/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal] Macro("Zap/2-1", "dialout-trunk|4|966426468||") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK=4") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_NUMBER=966426468") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "ROUTE_PASSWD=") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "_NODEST=") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=trT") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "GROUP()=OUT_4") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "user-callerid: Ana Mata 102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSERCIDNAME=Ana Mata") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSERCID=102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "CALLERID(all)="Ana Mata" <102>") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "REALCALLERIDNUM=102") in new stack
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "Using CallerID "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "record-enable|102|OUT") in new stack
-- Executing [s@macro-record-enable] GotoIf("Zap/2-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable] AGI("Zap/2-1", "recordingcheck|20071115-210745|1195157256.16") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20071115-210745|1195157256.16: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable] NoOp("Zap/2-1", "No recording needed") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=tT") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "outbound-callerid|4") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "custom=ZAP/g9") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk] Dial("Zap/2-1", "ZAP/g9/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal] Macro("Zap/2-1", "dialout-trunk|5|966426468||") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK=5") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_NUMBER=966426468") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "ROUTE_PASSWD=") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "_NODEST=") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=trT") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "GROUP()=OUT_5") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "user-callerid: Ana Mata 102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSERCIDNAME=Ana Mata") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSERCID=102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "CALLERID(all)="Ana Mata" <102>") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "REALCALLERIDNUM=102") in new stack
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "Using CallerID "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "record-enable|102|OUT") in new stack
-- Executing [s@macro-record-enable] GotoIf("Zap/2-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable] AGI("Zap/2-1", "recordingcheck|20071115-210745|1195157256.16") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20071115-210745|1195157256.16: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable] NoOp("Zap/2-1", "No recording needed") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=tT") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "outbound-callerid|5") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "custom=ZAP/g10") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk] Dial("Zap/2-1", "ZAP/g10/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal] Macro("Zap/2-1", "dialout-trunk|6|966426468||") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK=6") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_NUMBER=966426468") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "ROUTE_PASSWD=") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "_NODEST=") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=trT") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "GROUP()=OUT_6") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "user-callerid: Ana Mata 102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSERCIDNAME=Ana Mata") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSERCID=102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "CALLERID(all)="Ana Mata" <102>") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "REALCALLERIDNUM=102") in new stack
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "Using CallerID "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "record-enable|102|OUT") in new stack
-- Executing [s@macro-record-enable] GotoIf("Zap/2-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable] AGI("Zap/2-1", "recordingcheck|20071115-210745|1195157256.16") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20071115-210745|1195157256.16: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable] NoOp("Zap/2-1", "No recording needed") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=tT") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "outbound-callerid|6") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "custom=ZAP/g11") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk] Dial("Zap/2-1", "ZAP/g11/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal] Macro("Zap/2-1", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy] Playback("Zap/2-1", "all-circuits-busy-now|noanswer") in new stack
-- <Zap/2-1> Playing 'all-circuits-busy-now' (language 'es')
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'Zap/2-1' in macro 'outisbusy'
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'Zap/2-1'


I have noticed as well some annoying clicks on the audio, every 5-6 seconds, when I dial 7777 for example.

I still get these messages in dmesg constantly:

buffer re-sync occur from 2 to 1
buffer re-sync occur from 1 to 0
buffer re-sync occur from 0 to 3
buffer re-sync occur from 3 to 2
buffer re-sync occur from 2 to 1
buffer re-sync occur from 1 to 0

Maybe this is related with the clicks in the sound?

Any help?
16 years 5 months ago #507 by james.zhu
hello, ramoncio:
please check your dialplan first. from the posting, it looks ok.
Regards!
james.zhu

16 years 4 months ago #578 by jsalinasf
Hi there.
I have some problems with my A800P + Elastix 0.91 12/5/07
First of all my card is not recognized by the system

ztcfg -vvvvv

0 channels to configure.


In other way i want to recompile zaptel modules, but i have always the same problem:

with make....

You do not appear to have the sources for the 2.6.18-8-el5 kernel installed.

And yum install kernel-sources did not work...

Any ideas please ?
How can i download the kernel sources for the CentOS kernel?


Thank you
16 years 4 months ago #579 by jsalinasf
Hi there.
I have some problems with my A800P + Elastix 0.91 12/5/07
First of all my card is not recognized by the system

ztcfg -vvvvv

0 channels to configure.


In other way i want to recompile zaptel modules, but i have always the same problem:

with make....

You do not appear to have the sources for the 2.6.18-8-el5 kernel installed.

And yum install kernel-sources did not work...

Any ideas please ?
How can i download the kernel sources for the CentOS kernel?


Thank you
16 years 4 months ago #580 by james.zhu
hello, Sir:
when you install elaxtix-0.9 for first time, please run:lspci -vvvvv and genzaptelconf first. have you done it?
Regards!
James.zhu

Time to create page: 0.041 seconds
Powered by Kunena Forum